package slist;

public class SListTest {
    public static void main(String[] args) {
        MySingleList mySingleList = new MySingleList();


        mySingleList.addLast(1);
        mySingleList.addLast(1);
        mySingleList.addLast(3);
        mySingleList.addLast(3);
        mySingleList.addLast(4);
        mySingleList.addLast(1);
        mySingleList.addLast(1);
        mySingleList.addLast(5);

        mySingleList.addLast(1);
        mySingleList.addLast(1);




        mySingleList.display();
        System.out.println();

        mySingleList.removeAllKey(1);
        mySingleList.display();





    }
}
